html,
body {
    height: 100%;
    width: 100%;
}

html {
    min-width: 1200px;
    min-height: 600px;
}

.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hide-scroll::-webkit-scrollbar {
    display: none;
}

input,
button {
    border: none;
    outline: none;
    background-color: transparent;
}


/* element Ui */

.el-tabs {
    height: 100%;
    display: flex;
    flex-direction: column;
}


/* 父组件如何控制子组件内部渲染的元素的样式 */

.el-tabs>>>.el-tabs__header {
    flex-shrink: 0;
}

.el-tabs /deep/ .el-tabs__content {
    flex-grow: 1;
    overflow: auto;
}

.el-tab-pane {
    min-height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.el-dialog__wrapper {
    position: absolute;
    background-color: rgba(0, 0, 0, .5);
}

.el-dialog {
    margin-top: 50px !important;
}


/* 自定义树的样式 */

.custom-tree .el-tree-node {
    position: relative;
    padding-left: 16px;
}

.custom-tree .el-tree-node__children {
    padding-left: 16px;
}

.custom-tree .el-tree-node :last-child:before {
    height: 38px;
}

.custom-tree .el-tree>.el-tree-node:before {
    border-left: none;
}

.custom-tree-container .el-tree>.el-tree-node:after {
    border-top: none;
}

.custom-tree .el-tree-node:before {
    content: "";
    left: -4px;
    position: absolute;
    right: auto;
    border-width: 1px;
}

.custom-tree .el-tree-node:after {
    content: "";
    left: -4px;
    position: absolute;
    right: auto;
    border-width: 1px;
}

.custom-tree .el-tree-node__expand-icon.is-leaf {
    display: none;
}

.custom-tree .el-tree-node:before {
    border-left: 1px dashed #b8b9bb;
    bottom: 0;
    height: 100%;
    top: -20px;
    width: 1px;
}

.custom-tree .el-tree-node:after {
    border-top: 1px dashed #b8b9bb;
    height: 20px;
    top: 20px;
    width: 24px;
}

.el-input__icon {
    color: #67C23A;
    font-weight: bold;
}

.custom-tree .el-tree-node_content {
    height: 40px;
}


/* 自定义el-drawer的样式 */

.custom-drawer.el-drawer__wrapper {
    position: absolute;
    background-color: rgba(0, 0, 0, .5);
}